package com.ddlc.javademo;

import com.ddlc.anno.StudentInfo;

/**
 * https://gitee.com/tangbuzhi
 *
 * @author: Tangbuzhi
 * @version:
 * @package:
 * @description:
 * @modify:
 * @date: 2018/4/19
 */

public class Student {
    @StudentInfo(name = "xiaomin", age = 10, gender = StudentInfo.Gender.FEMAIL)
    private String xiaominField;
    @StudentInfo(name = "zhangsan", age = 12, address = "beijing")
    public String zhangsanField;
    @StudentInfo(name = "lisi", age = 14)
    private String lisiField;
    @StudentInfo(name = "wangwu", age = 16, gender = StudentInfo.Gender.FEMAIL, address = "shanghai")
    private String wangwuField;

    @StudentInfo(name = "xiaomin", age = 8, gender = StudentInfo.Gender.FEMAIL)
    private void xiaominMethod() {
    }

    @StudentInfo(name = "zhangsan", age = 15, address = "beijing")
    public void zhangsanMethod() {
    }

    public void lisiMethod() {
    }

    @StudentInfo(name = "wangwu", age = 10, gender = StudentInfo.Gender.FEMAIL, address = "shanghai")
    public void wangwuMethod() {
    }
}
